package com.lxw.oa.controller.mobile;

import com.lxw.oa.controller.io.BaseTo;
import com.lxw.oa.entity.User;
import com.lxw.oa.service.StuSurveyService;
import org.apache.shiro.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.*;


/**
 * 辅导员Controller
 * @author Administrator
 *
 */
@Controller
@EnableTransactionManagement
@RequestMapping("/mobile")
public class mobileController {

	@Autowired
	private StuSurveyService stuSurveyService;

	@GetMapping("/toSchoolDetail")
	public String toSchoolDetail(HttpServletRequest request, Model model){
		return "pages/mobile/V_Mobile_SchoolDetail";
	}

	@GetMapping("/toStuReport")
	public String toStuReport(HttpServletRequest request, Model model){
		return "pages/mobile/V_Mobile_StudentReport";
	}

}
